package FourArithmeticOperations;

import junit.framework.TestCase;

import java.util.ArrayList;

/**
 * Created by dell on 2017/10/27.
 */
public class CountTest {
    public static void main(String[] args) {
     Count count = new Count();
     LinkedBinaryTree<String> tree = new LinkedBinaryTree<>();
     tree.root = count.ExpressionT("2 + 3 * 4 + 5 - 1");
     ArrayList<String> list = tree.postorder();
     for(String i:list){
         System.out.print(i);
     }
    }
}